<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

    <title>就餐扫码系统</title>
    <link href="/static/css/bootstrap.min.css" th:href="@{css/bootstrap.min.css}" rel="stylesheet"/>
    <link href="/static/css/font-awesome.min.css" th:href="@{css/font-awesome.min.css}" rel="stylesheet"/>
    <link href="/static/css/style.css" th:href="@{css/style.css}" rel="stylesheet"/>
    <link href="/static/css/login.min.css" th:href="@{css/login.min.css}" rel="stylesheet"/>
    <link href="/static/css/login.css" th:href="@{css/login.css}" rel="stylesheet"/>
    <link href="/static/ajax/libs/iCheck/custom.css" th:href="@{/ajax/libs/iCheck/custom.css}" rel="stylesheet"/>
    <link href="/static/ruoyi/css/ry-ui.css" th:href="@{/ruoyi/css/ry-ui.css?v=2.4.0}" rel="stylesheet"/>
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <link rel="shortcut icon" href="../static/favicon.ico" th:href="@{favicon.ico}"/>
    <style type="text/css">label.error { position:inherit;  }</style>
    <script>
        if(window.top!==window.self){
            /* window.top.location=window.location
            window.opener=null;
            window.close();
            window.location = "index.html";
            window.location = '/meals/dailymenu/everyday';
            window.location = '/dailymenu/everyday';*/
            window.open("qrcode");

        };
    </script>
</head>
<style>
    *{
        margin: 0;
        padding: 0;
    }

    .container {
        width: 36%;
        margin: 6% auto;
    }

    .container div{
        text-align: center;
    }
    .container p{
        text-align: center;
        margin-top: 20px;
    }
    .container p:nth-child(2){
        font-size: 20px;
    }
    .container p:nth-child(3){
        font-size: 48px;
    }
    .container p:nth-child(4){
        font-size: 15px;
        color: #333333;
        text-align: left;

    }
    .container p:nth-child(6){
        font-size: 13px;
        color: #CCCCCC;
    }
    .container from{
        width: 100px;
        text-align: center;
    }
    .container input{
        width: 100%;
        height: 40px;
        text-align: center;
        margin-top: 10px;
    }
    .container .text{
        width: 99.5%;
    }
    .container .sp{
        height:10px;
        width: 99.5%;
    }

    .container .btn{
        width: 99.9%;
        height:40px;
        background: #ff9d18;
        border: none;
        color: #FFFFFF;
        font-size: 16px;
    }

</style>
<body>
<div class="container">
    <div><img src="../static/scanlogin.png" th:src="@{/scanlogin.png}"></div>
    <p id="companyName"></p>
    <p>就餐签到扫码系统</p>
    <p>使用方法： 使用双屏电脑，打开登录网址输入密码登录，副屏显示动态二维码要求订餐人员扫码就餐，主屏显示订餐信息，包括订餐人、菜品等。</p>
    <form id="signupForm">
        <input type="text" name="companyAccount"  placeholder="请输入公司账号" class="text"/>
        <input type="text" name="loginName"  placeholder="请输入个人账号" class="text"/>
        <input type="password" name="loginPwd"  placeholder="请输入登录密码" class="text"/>
        <div class="sp"></div>
        <button class="btn btn-success btn-block" id="btnSubmit" data-loading="正在验证登录，请稍后...">登录</button>
    </form>
    <p>若忘记密码，请要求管理员在系统设置 - 就餐设置中更改</p>
</div>

<script th:inline="javascript"> var ctx = [[@{/}]]; var captchaType = [[${captchaType}]]; </script>
<!-- 全局js -->
<script src="/static/js/jquery.min.js" th:src="@{/js/jquery.min.js}"></script>
<script src="/static/js/bootstrap.min.js" th:src="@{/js/bootstrap.min.js}"></script>
<!-- 验证插件 -->
<script src="/static/ajax/libs/validate/jquery.validate.min.js" th:src="@{/ajax/libs/validate/jquery.validate.min.js}"></script>
<script src="/static/ajax/libs/validate/messages_zh.min.js" th:src="@{/ajax/libs/validate/messages_zh.min.js}"></script>
<script src="/static/ajax/libs/layer/layer.min.js" th:src="@{/ajax/libs/layer/layer.min.js}"></script>
<script src="/static/ajax/libs/iCheck/icheck.min.js" th:src="@{/ajax/libs/iCheck/icheck.min.js}"></script>
<script src="/static/ajax/libs/blockUI/jquery.blockUI.js" th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script>
<!-- <script src="http://tajs.qq.com/stats?sId=62048022"></script> -->
<script src="/static/ruoyi/js/ry-ui.js" th:src="@{/ruoyi/js/ry-ui.js?v=2.4.0}"></script>
<script src="/static/ruoyi/codeLogin.js" th:src="@{/ruoyi/codeLogin.js}"></script>
</body>
</html>

